package org.gvp.record.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import java.time.LocalDateTime;
import java.time.LocalDate;
/**
* 报销单表实体类
*/
@Data
@TableName(schema = "record",value = "report")
public class Report{
    /**
    * 自增主键
    */
    @TableId(type = IdType.AUTO,value = "`id`")
    private Integer id;
    /**
    * 数据唯一标识
    */
    @TableField(value = "`key`")
    private String key;
    /**
    * 报销单条目数量
    */
    @TableField(value = "`total_count`")
    private Integer totalCount;
    /**
    * 报销单总金额
    */
    @TableField(value = "`total_amount`")
    private Double totalAmount;
    /**
    * 报销单状态 false:未报销 true:已报销
    */
    @TableField(value = "`status`")
    private Boolean status;
    /**
    * 报销单说明
    */
    @TableField(value = "`explain`")
    private String explain;
    /**
    * 报销单报销结算时间, 未结算时为空
    */
    @TableField(value = "`settle_time`")
    private LocalDateTime settleTime;
    /**
    * 报销单创建日期
    */
    @TableField(value = "`create_date`")
    private LocalDate createDate;
    /**
    * 创建时间
    */
    @TableField(value = "`create_time`")
    private LocalDateTime createTime;
    /**
    * 修改时间
    */
    @TableField(value = "`update_time`")
    private LocalDateTime updateTime;
    /**
    * 逻辑删除字段
    */
    @TableField(value = "`delete`")
    private Boolean delete;
    /**
    * 数据版本
    */
    @TableField(value = "`version`")
    private Integer version;
    /**
    * 数据排序字段
    */
    @TableField(value = "`order`")
    private Integer order;
    /**
    * 数据备注信息
    */
    @TableField(value = "`remark`")
    private String remark;
}
